package com.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.beans.TeamInfo;
import com.mapper.TeamMapper;
import com.service.TeamService;
import com.service.UserService;

@Service @Transactional
public class TeamServiceimpl implements TeamService{
	@Resource
	private TeamMapper teamMapper;

	public int addTeam(TeamInfo user) {
		return teamMapper.add_team(user);
	}
}
